<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");


//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 1004;
?>

<link rel="stylesheet" href="./admin.style.css" type="text/css">
<style>
.bg_menu1 { height:22px;
            padding-left:15px;
            padding-right:15px; }
.bg_line1 { height:1px; background-color:#EFCA95; }

.bg_menu2 { height:22px;
            padding-left:25px; }
.bg_line2 { background-image:url('<?=$g4['admin_path']?>/img/dot.gif'); height:3px; }
.dot {color:#D6D0C8;border-style:dotted;}

.content_inner ul li {border-bottom: 1px solid #e2e2e2; }
.nn_tt {color:white;font-weight:bold;font-size:12pt;font-family:"맑은 고딕";}
.n1 li {line-height:18px; font-family:"맑은 고딕"}
.orange_line {width:100%;height:3px;background:#6a81c4;}
.wrap_adm {width:100%;position:relative;margin:0 auto;text-align:left;}
</style>

<header class="header">
	<div class="orange_line"><!----></div>
	<section class="back_bar">
		<div class="wrap">
			<ul class="headd" >
				<li class="logo">
					<dd><a href="/adm/index_new.php?"><img src="<?=$g4['admin_path']?>/adm_new/img_btn/logo.jpg"></a></dd>
					<dd><img src="<?=$g4['admin_path']?>/adm_new/img_btn/img_member.png"></dd>
				</li> 
				<li class="ny">
					<ul>
						<li class="nn_tt">회원관리</li>
						<li class="nn">
							<ul class="n1">
								<li><a href="/adm/adm_new/member_list.php?bo_table=a_1">회원관리</a></li>
								<!-- <li><a href="/adm/adm_new/point_list.php?bo_table=a_2">포인트관리</a></li>-->
								<li><a href="/adm/adm_new/mail_list.php?bo_table=a_3">회원메일발송</a></li>
								<!-- <li><a href="/adm/adm_new/visit_list.php?bo_table=a_4">접속자현황</a></li>-->
								<!--<li><a href="/adm/adm_new/poll_list.php?bo_table=a_5">투표관리</a></li>-->
							</ul>
						</li>
					</ul>
				</li>
				<li class="h_line"><!----></li>
				<li class="ny">
					<ul>
						<li class="nn_tt">커뮤니티</li>
						<li class="nn">
							<ul class="n1">
								<li><a href="/adm/adm_new/board.php?bo_table=notice">공지사항</a></li>
								<li><a href="/adm/adm_new/qna_list.php?bo_table=QNA">Q&A</a></li>
							</ul>
						</li>
					</ul>
				</li>
				<li class="h_line"><!----></li>
				<li class="ny">
					<ul>
						<li class="nn_tt">이벤트관리</li>
						<li class="nn">
							<ul class="n1">
								<li><a href="/adm/adm_new/event.php?bo_table=event">진행중인이벤트</a></li>
								<li><a href="/adm/adm_new/event.php?bo_table=win">당첨자발표</a></li>
								<li><a href="/adm/adm_new/coupon_list.php?bo_table=coupon">쿠폰관리</a></li>
							</ul>
						</li>
					</ul>
				</li>
				<li class="h_line"><!----></li>
				<li class="ny">
					<ul>
						<li class="nn_tt">방문일지</li>
						<li class="nn">
							<ul class="n1">
								<li><a href="/adm/adm_new/m_visit_list.php?bo_table=visit">방문일지관리&nbsp;<?php echo $today_n;?></a></li>
							</ul>
						</li>
					</ul>
				</li>
				<li class="h_line"><!----></li>
				<li class="ny">
					<ul>
						<li class="nn_tt">가맹점관리</li>
						<li class="nn">
							<ul class="n1">
								<li><a href="/adm/adm_new/manage.php?bo_table=manage">가맹점정보관리</a></li>
								<li><a href="/adm/adm_new/manage_list.php?bo_table=mg_list">가맹점리스트관리</a></li>
							</ul>
						</li>
					</ul>
				</li>
				<li class="h_line"><!----></li>
				<li class="ny">
					<ul>
						<li class="nn_tt">정보공개서</li>
						<li class="nn">
							<ul class="n1">
								<li><a href="/adm/adm_new/info_list.php?bo_table=info">정보공개서</a></li>
								<li><a href="/adm/adm_new/mail_record.php?bo_table=infoMail">메일전송내역</a></li>
							</ul>
						</li>
					</ul>
				</li>
				<li class="h_line"><!----></li>
				<li class="ny">
					<ul>
						<li class="nn_tt">배너관리</li>
						<li class="nn">
							<ul class="n1">
								<li><a href="/adm/adm_new/site_banner_list.php?bo_table=banner">배너관리</a></li>
							</ul>
						</li>
					</ul>
				</li>
				
			</ul>
			
		</div>
		
	</section>
</header>
<div class="orange_line"><!----></div>
<!-- header 끝 -->

<!-- content 시작 -->
<?if($bo_table||$ns){?>
<section class="content2">
<div class="content_inner">
	<nav class="lnb2">
		<ul>
		<?if($bo_table=="a_1"||$bo_table=="a_2"||$bo_table=="a_3"||$bo_table=="a_4"||$bo_table=="a_5"||$bo_table=="confirm"){?>
			<li><b style="font-family:'NanumGothic';">회원관리</b></li>
			<li class="lnb_c">
				<a href="/adm/adm_new/member_list.php?bo_table=a_1">회원관리</a>
			</li>
			<!-- 
			<li class="lnb_c">
				<a href="/adm/adm_new/point_list.php?bo_table=a_2">포인트관리</a>
			</li>
			-->
			<li class="lnb_c">
				<a href="/adm/adm_new/mail_list.php?bo_table=a_3">회원메일발송</a>
			</li>
			<!-- 
			<li class="lnb_c">
				<a href="/adm/adm_new/visit_list.php?bo_table=a_4">접속자현황</a>
			</li>
			<li class="lnb_c">
				<a href="/adm/adm_new/poll_list.php?bo_table=a_5">투표관리</a>
			</li>
			-->
		<?}?>
		<?if($bo_table=="notice"||$bo_table=="QNA"){?>
			<li><b>커뮤니티</b></li>
			<li class="lnb_c">
				<a href="/adm/adm_new/board.php?bo_table=notice">공지사항</a>
			</li>	
			<li class="lnb_c">
				<a href="/adm/adm_new/qna_list.php?bo_table=QNA">Q&A</a>
			</li>
		<?}?>	
		<?if($bo_table=="event"||$bo_table=="win"||$bo_table=="coupon"){?>
			<li><b>이벤트 관리</b></li>
			<li class="lnb_c">
				<a href="/adm/adm_new/event.php?bo_table=event">진행중인 이벤트</a>
			</li>
			<li class="lnb_c">
				<a href="/adm/adm_new/event.php?bo_table=win">당첨자 발표</a>
			</li>
			<li class="lnb_c">
				<a href="/adm/adm_new/coupon_list.php?bo_table=win">쿠폰 관리</a>
			</li>
		<?}?>
		<?if($bo_table=="visit"){?>
			<li><b>방문일지관리</b></li>
			<li class="lnb_c">
				<a href="/adm/adm_new/m_visit_list.php?bo_table=visit">방문일지관리</a>
			</li>
		<?}?>
		<?php if($bo_table == "mg_list" || $bo_table == "manage") { ?>
		<li><b>가맹점관리</b></li>
			<li class="lnb_c">
				<a href="/adm/adm_new/manage.php?bo_table=manage">가맹점정보관리</a>
			</li>
			<li class="lnb_c">
				<a href="/adm/adm_new/manage_list.php?bo_table=mg_list">가맹점리스트관리</a>
			</li>
		<?php }?>
		<?php if($bo_table == "info" || $bo_table == "infoMail") { ?>
		<li><b>정보공개서 관리</b></li>
			<li class="lnb_c">
				<a href="/adm/adm_new/info_list.php?bo_table=info">정보공개서</a>
			</li>
			<li class="lnb_c">
				<a href="/adm/adm_new/mail_record.php?bo_table=infoMail">메일전송내역</a>
			</li>
		<?php }?>
		<?php if($bo_table == "banner" || $bo_table == "") { ?>
		<li><b>배너 관리</b></li>
			<li class="lnb_c">
				<a href="/adm/adm_new/site_banner_list.php?bo_table=banner">배너관리</a>
			</li>
		<?php }?>
		
		</ul>
		
	</nav>
	<article class="concon">
<?}?>










<!--
        <?=visit("basic"); // 방문자수 ?>

        <?=connect(); // 현재 접속자수 ?>
		-->
